package com.p2p.front.service;

import java.text.ParseException;
import java.util.Date;
import java.util.Map;

import com.p2p.base.model.Money;
import com.p2p.front.dal.model.Finance;
import com.p2p.front.vo.FinanceVO;

public interface FinanceService {

	Date getLastUpdateTime();

	void saveFinanceInfo(Money dayAmount, Money dayEarnings, String date);

	Finance getLatestFinance();

	void getFinanceData(String date) throws ParseException;

	FinanceVO getTotleFinance();

	Map<String, Object> myFinance(Integer uid);

}
